{include file="header.html"}

<script type="text/javascript">
//<!CDATA[
$(function(){
  
    
    $("#search").click(function(){
    	$("#act").val("index");

    	$("#form1").submit();
    });
});
//]]>
</script>

<div id="rightTop">
	<p>监控方案</p>
	<ul class="subnav">
		<li><span>{$lang.manage}</span>
		</li>
		<li><a class="btn1" href="index.php?app=monitor_main&amp;act=add">{$lang.add}</a>
		</li>
	</ul>
</div>
<div class="mrightTop">

	<div class="fontr">{include file=page.top.html}</div>
	<div class="clear:both;"></div>
</div>
<div class="tdare">
	<table width="100%" cellspacing="0" class="dataTable">
		<!--{if $operator}-->
		<tr class="tatr1">
			<td width="20" class="firstCell"><input type="checkbox"
				class="checkall" />
			</td>
			<td align="left">监控定义</td>
			<td>所属运营商</td>
			<td align="left">货主</td>
			<td>备注</td>
			<td>添加时间</td>
			<td>添加人员</td>
			<td style="text-align: center;width: 100px">操作</td>
		</tr>
		<!--{/if}-->
		<!--{foreach from=$operator item=w}-->
		<tr class="tatr2">
		    <td class="firstCell"> <input type="checkbox" class="checkitem" value="{$w.zmm_tid}"/></td>
			<td>{$w.zmm_name|escape}</td>
			
			<!--{if !$w.o_name}-->
				<td>所有运营商</td>
			<!--{else}-->
			<td>{$w.o_name|escape}</td>
			
			<!--{/if}-->
			<!--{if !$w.o_linkman}-->
			<td>所有货主</td>
			<!--{else}-->
			<td>{$w.o_linkman}</td>

			<!--{/if}-->
			<td>{$w.zmm_note|default:-}</td>
			
			<td>
			{if $w.zmm_time} {$w.zmm_time|date:Y-m-d H:i} {else} -  {/if}
			</td>
			
			<td>{$w.user_name|default:-}</td>
                       <td style="text-align: center;">

                       <a href="index.php?app=monitor_main&amp;act=edit&amp;id={$w.zmm_tid}">{$lang.edit}</a>
             |
                <a href="javascript:drop_confirm('{$lang.drop_confirm}', 'index.php?app=monitor_main&amp;act=drop&amp;id={$w.zmm_tid}');">{$lang.drop}</a></td>
		</tr>
		<!--{foreachelse}-->
		<tr class="no_data">
			<td colspan="7">{$lang.no_data}</td>
		</tr>
		<!--{/foreach}-->
	</table>
	<!--{if $operator}-->
	<div id="dataFuncs">
		<div class="pageLinks">{include file=page.bottom.html}</div>
		<div id="batchAction" class="left paddingT15">
			&nbsp;&nbsp; <input class="formbtn batchButton" type="button"
				value="{$lang.drop}" name="id" uri="index.php?app=monitor_main&act=drop"
				presubmit="confirm('{$lang.drop_confirm}');" /> &nbsp;&nbsp;
			<!--<input class="formbtn batchButton" type="button" value="lang.update_order" name="id" presubmit="updateOrder(this);" />-->
		</div>
		<div class="clear:both;"></div>
	</div>
	<div class="clear"></div>
	<!--{/if}-->
</div>
{include file="footer.html"}